/**
 * 
 */
package com.jolestar.yayaweibotong.controller;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author jolestar@gmail.com
 * 
 */
public interface WebAction {
	
	public String getPath();
	
	/**
	 * 
	 * @param request
	 * @param response
	 * @throws ServletException
	 * @throws IOException
	 */
	public void action(HttpServletRequest request,
			HttpServletResponse response) throws ServletException, IOException;

	public String getName();
	
}
